bot_log_expression

Configuration for Bot Logexpression resource.

Read/write properties

bot_log_expr_value<String>

Log Expression Value.

bot_attack_offset<Double>

Attack Offset.

bot_attack_offset_len<Double>

Attack Offset Length.

bot_log_expr_comment<String>

Log Expression Comment.

bot_log_expr_name<String>

Log Expression Name.

Operations

NOTE: In request payload, Mandatory parameters are marked red and bold.

The following parameters can be used in the nitro request :

onerror   <String_value>

Use this parameter to set the onerror status for nitro request. Applicable only for bulk requests.
Default value: EXIT
Possible values = EXIT, CONTINUE

get (all)

get (all)

URL:https://<MGMT-IP>/macro/v1/security/bot_log_expression

Query-parameters:

transaction_id

Use this query-parameter to specify the transaction id of the bot violation record for which the expression is generated.

Possible Values:transaction id number

report_start_time

Use this query-parameter to specify the start time from which the summary for report is considered.

Possible Values:

report_end_time

Use this query-parameter to specify the end time until where summary for report is considered.

Possible Values:

HTTPS Method:GET

HTTPS Request Headers:

Accept:application/json

X-NITRO-USER:username_value<String>

X-NITRO-PASS:password_value<String>

or

Cookie:NITRO_AUTH_TOKEN=token_value<String>

Response:

HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx (for general HTTPS errors) or 5xx (for NetScaler-MAS-specific errors). The response payload provides details of the error

Response Headers:

Content-Type:application/json

Response Payload:JSON

{ "errorcode": 0, "message": "Done", "severity": <String_value>, "bot_log_expression":[{
      "bot_log_expr_value":<String_value>,
      "bot_attack_offset":<Double_value>,
      "bot_attack_offset_len":<Double_value>,
      "bot_log_expr_comment":<String_value>,
      "bot_log_expr_name":<String_value>}]}